11. BSD Unix, Part 1 - Unix Code Goes to UC Berkeley

In 1973, Ken Thompson and Dennis Ritchie presented Unix at the Symposium on Operating Systems Principles (SOSP).[1]

Next, Ken Thompson and Dennis Ritchie from Bell Labs will introduce their operating system, Unix.

Unix is an interactive, multi-user operating system. We've rewritten it mostly in C, a high-level language, rather than assembly.

What's C?
Wait—you can write an OS in a high-level language?

Unix has features rare even in larger systems. It runs on a PDP-11.
Today we'll discuss the file system and the command interface.Main features shown on the board, using the original wording from the 1974 paper's abstract:[1]
- A hierarchical file system incorporating demountable volumes
- Compatible file, device, and inter-process I/O
- The ability to initiate asynchronous processes
- System command language selectable on a per-user basis
- Over 100 subsystems including a dozen languages

murmur murmur
All that on a PDP-11? Impressive...
After the talk, Professor Bob Fabry of the University of California, Berkeley approached the two speakers.

I'm Bob Fabry from Berkeley. We'd like to try Unix. Could we get a copy?
For research? That should be possible. Do you have a PDP-11/45?

We only have mainframes. We're planning to buy a PDP-11. I'll be in touch once we have it.
Berkeley's computer science, mathematics, and statistics departments jointly purchased a PDP-11/45. A tape containing Unix Version 4 arrived in January 1974, and graduate student Keith Standiford installed it.[2]

Professor! The Unix tape is here!
Great! Let's get it running.

We'd better ask Ken Thompson for help.
It runs, but it keeps crashing.
Thompson dialed in by modem to help. The trouble came when both disks tried to seek at once—their shared controller couldn't handle it reliably. With his help, Unix was finally running smoothly.[2]

Now it's working!
There still wasn't enough computer time. Berkeley bought a newer model, the PDP-11/70, which arrived in the fall of 1975.[2]


Ken, our PDP-11/70 is here. Can you help us install the latest Unix?

Good timing! I'm taking my sabbatical at Berkeley. I'll install Version 6 when I get there.
In 1975, Thompson returned to his alma mater, Berkeley, for a sabbatical as a visiting professor. Together with Jeff Schriebman and Bob Kridle, he got Unix Version 6 running on the new PDP-11/70. The work that followed at Berkeley would eventually grow into BSD Unix.[2]

Unix source code on tape
Next: the story of vi, the editor born at Berkeley.
This comic is based on Marshall Kirk McKusick's "Twenty Years of Berkeley Unix." The dialogue is dramatized, not a verbatim record of what the participants said.
References
- D. M. Ritchie and K. Thompson, The UNIX Time-Sharing System, 1974.
- Marshall Kirk McKusick, Twenty Years of Berkeley Unix, 1999.
- Andrew Leonard, BSD Unix: Power to the people, from the code, 2000.
- Marshall Kirk McKusick, "Twenty Years of Berkeley Unix," in the Korean edition of Open Sources: Voices from the Open Source Revolution, Hanbit Media, 2013.
